package com.zq.assistant.ui.widget.recyclerview.adapter.cell;

import com.zq.assistant.ui.widget.viewholder.SuperViewHolder;

/**
 * Created by zhangqiang on 17-6-29.
 */

public interface Cell<VH extends SuperViewHolder> {

    /**
     * {@link #getSpanSize()}
     */
    public static final int FULL_SPAN = -1;

    int getLayoutId();

    int getSpanSize();

    void bindData(VH viewHolder);

    void onRecycled(VH viewHolder);

}
